package com.engine4cloud.tdf.supervision.dto.update;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDate;

/**
 * 矫正对象-禁止令-请求对象
 *
 * @author wenjie
 * @date 2024-04-19 10:29:41
 */
@Data
@Schema(description = "矫正对象-禁止令-请求对象")
public class JzdxInterdictUpdateDTO implements Serializable {

    /**
     * 主键
     */
    @Schema(description = "主键")
    @NotNull(message = "主键不能为空")
    private Long id;

    /**
     * 禁止令类型
     */
    @Schema(description = "禁止令类型", example = "01")
    @NotBlank(message = "禁止令类型不能为空")
    private String jzllx;

    /**
     * 禁止令内容
     */
    @Schema(description = "禁止令内容")
    @NotBlank(message = "禁止令内容不能为空")
    private String jzlnr;

    /**
     * 禁止期限开始日期
     */
    @Schema(description = "禁止期限开始日期", example = "2022-01-01")
    @NotNull(message = "禁止期限开始日期不能为空")
    private LocalDate jzqxksrq;

    /**
     * 禁止期限结束日期
     */
    @Schema(description = "禁止期限结束日期", example = "2024-01-01")
    @NotNull(message = "禁止期限结束日期不能为空")
    private LocalDate jzqxjsrq;

    /**
     * 特定区域坐标
     */
    @Schema(description = "特定区域坐标")
    private String tdqyzb;

    /**
     * 备注
     */
    @Schema(description = "备注")
    private String bz;
}